package com.runfast.waimai.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.waimai.dao.mapper.WaiMaiRunfastShopperMapper;
import com.runfast.waimai.dao.model.WaiMaiRunfastShopper;
import com.runfast.waimai.dao.model.WaiMaiRunfastShopperExample;
import com.runfast.waimai.service.WaiMaiRunfastShopperService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class WaiMaiRunfastShopperServiceImpl extends BaseService<WaiMaiRunfastShopper, Integer, WaiMaiRunfastShopperExample> implements WaiMaiRunfastShopperService {
    public List<WaiMaiRunfastShopper> selectByMap(Map<Object,Object> map){
        WaiMaiRunfastShopperMapper waiMaiRunfastShopperMapper=(WaiMaiRunfastShopperMapper)this.mapper;
        return waiMaiRunfastShopperMapper.selectByMap(map);
    }
    public Integer countByMap(Map<Object,Object> map){
        WaiMaiRunfastShopperMapper waiMaiRunfastShopperMapper=(WaiMaiRunfastShopperMapper)this.mapper;
        return waiMaiRunfastShopperMapper.countByMap(map);
    }

    public List<WaiMaiRunfastShopper> selectShopperStatisticsByMapWithPageable(Map<Object,Object> map){
        WaiMaiRunfastShopperMapper waiMaiRunfastShopperMapper=(WaiMaiRunfastShopperMapper)this.mapper;
        return waiMaiRunfastShopperMapper.selectShopperStatisticsByMapWithPageable(map);
    }
    public Integer countShopperStatisticsByMap(Map<Object,Object> map){
        WaiMaiRunfastShopperMapper waiMaiRunfastShopperMapper=(WaiMaiRunfastShopperMapper)this.mapper;
        return waiMaiRunfastShopperMapper.countShopperStatisticsByMap(map);
    }
}